home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Canadian & World Encyclopedia 1998
/
The Canadian & World Encyclopedia 1998 - Disc 2.iso
/
pc
/
pb
/
profile.dir
/
00267_Script_kf utils
< prev
next >
Wrap
Text File
|
1997-07-29
|
719b
|
17 lines
on membAttrSet memberType, attribute, state -- prs 20
if voidP(memberType) then ¼
put "example: membAttrSet #field, ""e&"editable""e&", FALSE"
set ttlCastlibs = the number of castlibs
repeat with i = 1 to ttlCastlibs
set ttlMembs = the number of members of castlib i
set t = 0
repeat with j = 1 to ttlMembs
if the type of member j of castlib i = memberType then
do "set the " & attribute & " of member " & j & " of castlib " & i & " to " & state
set t = t + 1
end if
end repeat
put t && memberType && "members set to" && attribute && "=" && state && "in castlib" && quote & the name of castlib i & quote
end repeat
-- by kf 11/19/96
end